
# =====================================
# solve error：UnicodeEncodeError: 'gbk' codec can't encode character '\xXX' in position XX
# =====================================
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030') #改变标准输出的默认编码


from urllib import request

url = 'https://www.biedoul.com/index/13349/'

resp = request.urlopen(url)

print(resp.read().decode('utf-8'))